﻿using System;
using System.Web;
using System.Web.SessionState;

namespace cludg.Web.Core.Notifications.Application
{
	public interface IApplicationNotificationSource
	{
		void FireApplicationStart(HttpApplicationState application);
		void FireApplicationEnd(HttpApplicationState application);
		void FireApplicationError(HttpApplicationState application, Exception error);
		void FireSessionStart(HttpApplicationState application, HttpSessionState session);
		void FireSessionEnd(HttpApplicationState application, HttpSessionState session);
		void FireBeginRequest(HttpApplicationState application, HttpRequest request);
		void FireEndRequest(HttpApplicationState application, HttpRequest request);
	}
}
